#ifndef WAVTOOL_H
#define WAVTOOL_H

#include <vector>

//TODOÖ move to Sinsy, add class signal

struct wavdata
{
    std::vector<float> data;
    float start;
    float length;
};

class WavTool
{
    int _outputRate;
    std::vector<wavdata*> _notes;
    float* _outdata;
    int _outdataLength;
public:
    WavTool();
    void setOutputRate(int rate){_outputRate=rate;}
    void addNote(const char* filename,float start,float length);
    void mix();
    void clear();

};

#endif // WAVTOOL_H
